package com.infinitus.autocatlog.domain;

import java.io.Serializable;
import java.util.List;

public class ErrorInfo implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = -834572730930303411L;

	private String msg;

	private int count;

	private List<String> ids ;

	private int MAX_ID_COUNT;
	
	private String dealUser;
	
	private List<String> details;

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		if(msg!=null && !"".equals(msg)){
			this.msg = msg.replace("(", "（").replace(")", "）").replace("{", "｛").replace("}", "｝").replace("'", " ").replace("\"", " ");
		}else{
			this.msg = "";
		}
	}

	public int getCount() {
		return count;
	}

	public void setCount(int count) {
		this.count = count;
	}

	public List<String> getIds() {
		return ids;
	}

	public void setIds(List<String> ids) {
		this.ids = ids;
	}

	public int getMAX_ID_COUNT() {
		return MAX_ID_COUNT;
	}

	public void setMAX_ID_COUNT(int mAX_ID_COUNT) {
		MAX_ID_COUNT = mAX_ID_COUNT;
	}

	public String getDealUser() {
		return dealUser;
	}

	public void setDealUser(String dealUser) {
		this.dealUser = dealUser;
	}

	public List<String> getDetails() {
		return details;
	}

	public void setDetails(List<String> details) {
		this.details = details;
	}

	@Override
	public String toString() {
		return "ErrorInfo [msg=" + msg + ", count=" + count + ", ids=" + ids + ", MAX_ID_COUNT=" + MAX_ID_COUNT
				+ ", dealUser=" + dealUser + ", details=" + details + "]";
	}
}
